Optimal. Leaf size=88 \[ e x \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )-\frac {d \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b x^2}{a}+1\right )}{2 a (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {764, 266, 65, 246, 245} \[ e x \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )-\frac {d \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b x^2}{a}+1\right )}{2 a (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 245
Rule 246
Rule 266
Rule 764
Rubi steps
\begin {align*} \int \frac {(d+e x) \left (a+b x^2\right )^p}{x} \, dx &=d \int \frac {\left (a+b x^2\right )^p}{x} \, dx+e \int \left (a+b x^2\right )^p \, dx\\ &=\frac {1}{2} d \operatorname {Subst}\left (\int \frac {(a+b x)^p}{x} \, dx,x,x^2\right )+\left (e \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int \left (1+\frac {b x^2}{a}\right )^p \, dx\\ &=e x \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )-\frac {d \left (a+b x^2\right )^{1+p} \, _2F_1\left (1,1+p;2+p;1+\frac {b x^2}{a}\right )}{2 a (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 88, normalized size = 1.00 \[ e x \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};-\frac {b x^2}{a}\right )-\frac {d \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b x^2}{a}+1\right )}{2 a (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.74, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[ \int \frac {\left (e x +d \right ) \left (b \,x^{2}+a \right )^{p}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (e x + d\right )} {\left (b x^{2} + a\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (b\,x^2+a\right )}^p\,\left (d+e\,x\right )}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 9.67, size = 65, normalized size = 0.74 \[ a^{p} e x {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - p \\ \frac {3}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )} - \frac {b^{p} d x^{2 p} \Gamma \left (- p\right ) {{}_{2}F_{1}\left (\begin {matrix} - p, - p \\ 1 - p \end {matrix}\middle | {\frac {a e^{i \pi }}{b x^{2}}} \right )}}{2 \Gamma \left (1 - p\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________